TTM Squeeze Momentum MTF [Cometreon]TTM Squeeze Momentum MTF combines the core logic of both the Squeeze Momentum by LazyBear and the TTM Squeeze by John Carter into a single, unified indicator. It offers a complete system to analyze the phase, direction, and strength of market movements.
Unlike the original versions, this indicator allows you to choose how to calculate the trend, select from 15 different types of moving averages, customize every parameter, and adapt the visual style to your trading preferences.
If you are looking for a powerful, flexible and highly configurable tool, this is the perfect choice for you.
🔷 New Features and Improvements
🟩 Unified System: Trend Detection + Visual Style
You can decide which logic to use for the trend via the "Show TTM Squeeze Trend" input:
✅ Enabled → Trend calculated using TTM Squeeze
❌ Disabled → Trend based on Squeeze Momentum
You can also customize the visual style of the indicator:
✅ Enable "Show Histogram" for a visual mode using Histogram, Area, or Column
❌ Disable it to display the classic LazyBear-style line
Everything updates automatically and dynamically based on your selection.
🟩 Full Customization
Every base parameter of the original indicator is now fully configurable: lengths, sources, moving average types, and more.
You can finally adapt the squeeze logic to your strategy — not the other way around.
🟩 Multi-MA Engine
Choose from 15 different Moving Averages for each part of the calculation:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
WMA (Weighted Moving Average)
RMA (Smoothed Moving Average)
HMA (Hull Moving Average)
JMA (Jurik Moving Average)
DEMA (Double Exponential Moving Average)
TEMA (Triple Exponential Moving Average)
LSMA (Least Squares Moving Average)
VWMA (Volume-Weighted Moving Average)
SMMA (Smoothed Moving Average)
KAMA (Kaufman’s Adaptive Moving Average)
ALMA (Arnaud Legoux Moving Average)
FRAMA (Fractal Adaptive Moving Average)
VIDYA (Variable Index Dynamic Average)
🟩 Dynamic Signal Line
Apply a moving average to the momentum for real-time cross signals, with full control over its length and type.
🟩 Multi-Timeframe & Multi-Ticker Support
You're no longer limited to the chart's current timeframe or ticker. Apply the squeeze to any symbol or timeframe without repainting.
🔷 Technical Details and Customizable Inputs
This indicator offers a fully modular structure with configurable parameters for every component:
1️⃣ Squeeze Momentum Settings – Choose the source, length, and type of moving average used to calculate the base momentum.
2️⃣ Trend Mode Selector – Toggle "Show TTM Squeeze Trend" to select the trend logic displayed on the chart:
✅ Enabled – Shows the trend based on TTM Squeeze (Bollinger Bands inside/outside Keltner Channel)
❌ Disabled – Displays the trend based on Squeeze Momentum logic
🔁 The moving average type for the Keltner Channel is handled automatically, so you don't need to select it manually, even if the custom input is disabled.
3️⃣ Signal Line – Toggle the Signal Line on the Squeeze Momentum. Select its length and MA type to generate visual cross signals.
4️⃣ Bollinger Bands – Configure the length, multiplier, source, and MA type used in the bands.
5️⃣ Keltner Channel – Adjust the length, multiplier, source, and MA type. You can also enable or disable the True Range option.
6️⃣ Advanced MA Parameters – Customize the parameters for advanced MAs (JMA, ALMA, FRAMA, VIDYA), including Phase, Power, Offset, Sigma, and Shift values.
7️⃣ Ticker & Input Source – Select the ticker and manage inputs for alternative chart types like Renko, Kagi, Line Break, and Point & Figure.
8️⃣ Style Settings – Choose how the squeeze is displayed:
Enable "Show Histogram" for Histogram, Area, or Column style
Disable it to show the classic LazyBear-style line
Use Reverse Color to invert line colors
Toggle Show Label to highlight Signal Line cross signals
Customize trend colors to suit your preferences
9️⃣ Multi-Timeframe Options - Timeframe – Use the squeeze on higher timeframes for stronger confirmation
🔟 Wait for Timeframe Closes -
✅ Enabled – Prevents multiple signals within the same candle
❌ Disabled – Displays the indicator smoothly without delay
🔧 Default Settings Reference
To replicate the default settings of the original indicators as they appear when first applied to the chart, use the following configurations:
🟩 TTM Squeeze (John Carter Style)
Squeeze
Length: 20
MA Type: SMA
Show TTM Squeeze Trend: Enabled
Bollinger Bands
Length: 20
Multiplier: 2.0
MA Type: SMA
Keltner Channel
Length: 20
Multiplier: 1.0
Use True Range: ON
MA Type: EMA
Style
Show Histogram: Enabled
Reverse Color: Enabled
🟩 Squeeze Momentum (LazyBear Style)
Squeeze
Length: 10
MA Type: SMA
Show TTM Squeeze Trend: Disabled
Bollinger Bands
Length: 20
Multiplier: 1.5
MA Type: SMA
Keltner Channel
Length: 10
Multiplier: 1.5
Use True Range: ON
MA Type: SMA
Style
Show Histogram: Disabled
Reverse Color: Disabled
⚠️ These values are intended as a starting point. The Cometreon indicator lets you fully customize every input to fit your trading style.
🔷 How to Use Squeeze Momentum Pro
🔍 Identifying Trends
Squeeze Momentum Pro supports two different methods for identifying the trend visually, each based on a distinct logic:
Squeeze Momentum Trend (LazyBear-style):
Displays 3 states based on the position of the Bollinger Bands relative to the Keltner Channel:
🔵 Blue = No Squeeze (BB outside KC and KC outside BB)
⚪️ White = Squeeze Active (BB fully inside KC)
⚫️ Gray = Neutral state (none of the above)
TTM Squeeze Trend (John Carter-style):
Calculates the difference in width between the Bollinger Bands and the Keltner Channel:
🟩 Green = BB width is greater than KC → potential expansion phase
🟥 Red = BB are tighter than KC → possible compression or pre-breakout
📈 Interpreting Signals
Depending on the active configuration, the indicator can provide various signals, including:
Trend color → Reflects the current compression/expansion state (based on selected mode)
Momentum value (above or below 0) → May indicate directional pressure
Signal Line cross → Can highlight momentum shifts
Color change in the momentum → May suggest a potential trend reversal
🛠 Integration with Other Tools
Squeeze Momentum Pro works well alongside other indicators to strengthen market context:
✅ Volume Profile / OBV – Helps confirm accumulation or distribution during squeezes
✅ RSI – Useful to detect divergence between momentum and price
✅ Moving Averages – Ideal for defining primary trend direction and filtering signals
☄️ If you find this indicator useful, leave a Boost to support its development!
Every piece of feedback helps improve the tool and deliver an even better trading experience.
🔥 Share your ideas or feature requests in the comments!
스크립트에서 "volume profile"에 대해 찾기
Fixed Range FootprintFixed Range Footprint allows you to analyze the Footprint over a specified time period. By enabling the "Extend Right" option, the Footprint transforms into a classic mode, extending from the starting point to the most recent bar in real-time.
Input Options:
Group: Coordinates
"Start range": Defines the starting coordinate for the Footprint period.
"End range": Defines the ending coordinate for the Footprint period.
Group: Row Size
"Ticks Per Row": Directly sets the price step, calculated by multiplying the input value by syminfo.mintick.
"Auto": Activates automatic mode for selecting the "Ticks Per Row" value.
"Max row": Relevant in auto mode; it limits the number of rows within a bar. The automatic calculation for "Ticks Per Row" is based on the first available bar and applied to subsequent bars.
Group: Imbalance
"Imbalance Percent": Sets a percentage-based coefficient to determine price level Imbalance by comparing the diagonal buy price to the previous sell price.
"Stacked levels": Defines the minimum number of consecutive Imbalance levels required to draw extended lines.
Group: Support
"Show Footprint Info": Toggles the display of Footprint information.
Group: Value Area
"Value Area": Sets the percentage for the Value Area.
"POC": Toggles the Point of Control (POC).
"VAH": Toggles the Value Area High (VAH).
"VAL": Toggles the Value Area Low (VAL).
"Show Volume Profile": Displays buy/sell volume at each level.
Group: Alerts
"Alert on New Imbalance": Enables alerts for the creation of new Imbalance levels.
"Alert on New Imbalance Line": Enables alerts for the creation of new Imbalance lines.
"Alert on Stop Past Imbalance Line": Enables alerts when price stops past an Imbalance line.
VP demo(Rolling period)Introduction
In the native VP (Volume Profile), the commonly referenced parameters are POC (Point of Control), VAH (Value Area High), and VAL (Value Area Low). However, since VAH and VAL are calculated by extending outward from the POC, their values heavily depend on the shape of the VP and the parameter settings of the value area ratio. This means their significance in identifying support and resistance in the market is limited. Based on VP, my algorithm is designed with two additional methods to identify low-volume points within a rolling time period, using them as reference points for support and resistance.
Current Algorithm Issues
When the candles update, you might notice overlapping support and resistance lines on the chart, or multiple lines appearing near the same location. This is due to TradingView's rendering issue, where old support and resistance lines that have been deleted in the code are not promptly removed from the chart. You only need to refer to the support and resistance lines that extend to the latest candle. If some lines remain at previous candles, it indicates that these points are outdated. As new candles continue to form, these lagging support and resistance lines will automatically disappear once the number of new candles reaches a certain threshold. Additionally, during significant market movements, you may see a large number of red lines. This is because the algorithm does not yet fully recognize abnormal market conditions. Future versions will gradually improve this aspect.
NITS - NIFTY INTRADAY TRADING SYSTEMNSE:NIFTY
Hello Traders..!
This is another indicator / system to make use for NIFTY & BANK NIFTY Intra day trading.
This is my Gift to the traders for this New Year 2024. Use this to your Edge and make some profits. All explained below.
NIFTY INTRA-DAY TRADING SYSTEM
Explanation of Arrays:
-------------------------------
## FIRST 15 MIN SESSION BOX ##
From 09:15 to 09:30 where the initial orders will get collected and Auction takes place.
DO NOT engage into any trade in this session. Let the Box develop.
## INITIAL HIGH / LOW FORMATION SESSION ##
This session is from 09:15 to 10:30.
We can observe the Initial High or Low being formed for the day, that is VALID TILL 11:30.
## NO-TRADE ZONE / ACC. AREA / DAY’S H OR L CONFIRMATION SESSION ##
From 11:30 to 12:30
90% of time this is the session where the whole Day’s High or Low will get confirmed. Sometimes the market may violate this Session!
DO NOT engage into any fresh trade in this area.
Once the box is developed, you can see the Mid price line will be formed which is valid for the afternoon Trading session till 15:30.
## SIGNAL LINE, MIDDLE PRICE LINE, SESSION HIGH LOW LINES ##
Middle Price Line – the dotted line (Red colour) is Mid Price Line for the Initial session box. This acts as an important price level for the whole day.
Signal Line – the Solid line that will form after 10:30. Consider this price line as very important price line to which the price reacts with a good momentum, either break through or rejection and valid for the whole trading day.
Session High Low price line – high and low prices of the Initial session box which acts as a good Support / Resistance / Target / Stop loss. Even previous session’s price lines can also be used for the current day too.
## TREND BOX ##
Multi-Time frame trend box will show the real-time trend on different time frames. This box will be very helpful in trade decision. Please note that at least THREE HIGHER TIME FRAME TRENDS must be in the same direction to support your trade criteria for the better confirmation.
## VOLUME IMBALANCE ##
These orange coloured boxes are very tiny imbalances between prices that were formed during price movements. Algorithm will try to fill these imbalances on its way of filling orders. These price imbalances can be used for our edge while taking trades.
SOME TIPS:
---------------------------
1) Avoid Break out trades
2) Always trade the pull backs
3) Keep your Stops above / below the KEY LEVELS
4) Always follow the Higher Time frame trend while taking a trade.
If you trade in 1m TF consider 5m trend
If you trade in 5m TF consider 1H or 15m trend
5) Consider the higher TF closure of prices only, to validate the break out.
6) Trade what you see, market can do anything it wants.
7) Do not worry about losses. It happens and that is the business.
8) End your trading week in green no matter how big or small the profit is. Consistency is the key this business.
9) Keep in mind that the Market does two things only, either it will FILL THE GAP or GRAB THE LIQUIDITY. Just plan your trades accordingly. Liquidity levels like Previous Session / Day / Week / highs and lows.
10) The Market is a continuous business. It does not end for the specific day. It will not end its Buy or Sell model unless it completes its cycle, hence TRADE WHAT YOU SEE and not WHAT YOU THINK!
11) Unless the key swing high / low is broken and closed, DO NOT consider that move as a reversal. Consider that as a Liquidity grab. And it will continue in its previous trend.
HOW TO TAKE TRADE USING NITS: (one of the Techniques)
--------------------------------------------------------------------------------
As explained above, Do not engage in trade for the first 15 minutes.
Once the 15m box forms then look for divergence between NIFTY and BANK NIFTY.
Both Indices are supposed to trade in the same direction but at key levels and times, these instruments will make DIVERGENCE with its Highs and Lows.
Ex: one Index will make LOW AND LOWER LOW and at the same time other will make LOW AND HIGHER LOW. This deflection can be used for taking Buy Trades.
Ex:
If the Divergence forms at the Bottom then the market will move upwards.
If the Divergence forms at the Top then the market makes down move.
To confirm this divergence, the price will move away from that deflected Lows or Highs.
-----------------------------------
POINTS TO OBSERVE
------------------------------------
Mostly the first 15 min range that forms will either be very large candles or normal candles with rejection wicks or Shaved bar (open and H/L same)
Whenever you observe a very large wide range bars within the 15min range, consider the Day’s high and Low is already formed. And the market will be hovering inside that range only. Very useful for taking 50 points scalping here and there by using the signal line and middle line or Acc box mid line. In this scenario you have three important info of the day, OPEN HIGH & LOW established already, The market will only look for its close.
Ex:
If the market trades with normal candles, then consider your trades in two parts.
From 09:30 to 11:30 and from 12:30 to 15:30 as 11:30 to 12:30 will confirm the current day’s High / Low hence do not take a fresh position within that time.
1) Initial session trade – If the price does not break and close the 15 min range high/low, consider it is going to reverse and continue its trend till 10:30
Ex:
2) Mid session Trade – mostly the market accumulates positions and collects orders between 11:30 to 12:30 for the afternoon session. Once the session box is developed, the middle price line will form. Wait for the market breakout and close off this session’s high or low in Higher TF. The market will continue in the direction of breakout from this session and continue till 15:30. Hence wait for pull back till its mid price / high or low price lines of this Acc box and take trade in the initial breakout direction keeping stop above or below the session’s high or low.
Ex:
## Fixed Range Volume Profile as a Tool ##
-----------------
Note:
-----------------
Kindly do not ask for any codes or script details. The one technique what I explained (Divergence method) is more than enough for making a consistent earnings. Please study and back test / forward test for yourself for atleast 2 weeks time. Every traders aspect and mindset is different in seeing the market movements. Please design your own methodology and CONSIDER this as a BUSINESS..!
JUST.....
Believe the System
Be patient
Be Disciplined &
Be a Successful Earner..!!
LET YOUR ENDS MEET
(Hope I explained well)
Efficiency GapsPaints inefficient candles ( where candles on both sides of a candle don't meet in the middle. )
Average True Range period and multiplier from 0.01 to 1 can be used to filter out small gaps.
Price is likely to return to these areas and they are possible support / resistance levels.
Combine with volume profile to detect low volume areas.
BE - Pr_DayLowHigh_BreakoutScreener AlgoHerewith presenting the Screener based indicator which supports Algo trade on the NSE stocks. The idea behind this indicator is when the Current day stock breaks out of Yesterday's high or Low with promising volumes (Using MA's and POC of Volume Profile) along with formation of candle Pattern. Initiates the Trade entries.
Note: Indicator is designed to take an entry even before the candle is closed as soon as the entry level is crossed and it shall exit the trade as soon as the SL is hit even before candle is close.
How to Work with this Indicator.
You can map up to 15 Scripts in this indicator. However you may decide if you wish to load all 15 are few of them. if you wish to load only 10, below settings should help you ignore the rest 10 symbols from screening it for setups
Updating Symbol Script.
This is an important part is used for Algo trades. Read the tooltip for better understanding of the format. Acceptable format is Broker Name followed with : and space with Symbol mapping Name followed with / and Instrument token provided by broker if no token alloted for the script then you may keep 0 against symbol name followed with / and Qty in terms of absolute value or in terms of percentage.
Trade and Scan Settings
Symbol List Mapping
For Improvements in Results - Use Events and keep a track of it / use Nudges etc.
RSI Scalping & Swing Signals With AlertsThis RSI indicator shows a green or red ribbon when the smoothed RSI is bullish or bearish. It also includes a long moving average for overall trend confirmation. Wait until the ribbon holds above or below the long moving average and take positions in that direction.
To get an easier to read RSI indicator, I smoothed the RSI out and paired it next to a short term RMA. These two together form the ribbon that will show you early reversals and trend direction. The long moving average is used as an overall trend detector and confirmation for longer term trends.
***HOW TO USE***
Scalping: Enter longs when the ribbon turns green and enter shorts when the ribbon turns red. Exit positions when the ribbon turns the opposite color or crosses the long moving average.
Swing Trading: When the ribbon holds above the long moving average or breaks out and retests it, look for long positions and exit when the ribbon turns red or crosses the long moving average. When the ribbon holds below the long moving average or breaks down and retests it, look for short positions and exit when the ribbon turns green or crosses the long moving average.
***DETAILS***
This indicator gives early reversal signals very well and waiting for the RSI ribbon to cross the long moving average helps to get you into positions when the market is ready to really move while filtering out some of the noise.
The ribbon and background will change to green or red depending on whether it is currently bullish or bearish.
There is also a label that changes colors and tells you if RSI is bullish or bearish and also whether the RSI ribbon is above or below the long moving average.
Green or red circles will appear on the indicator when there is a bullish or bearish cross of the RSI ribbon and the long moving average.
It also has alerts that trigger when RSI is turning bullish/bearish or when the RSI ribbon is crossing the long moving average.
***CUSTOMIZATION***
Each piece of this indicator can be customized to suit your preferences including the RSI source, length, smoothing length, short moving average length and long moving average length. You can also turn off the labels, signals and long moving average. All of these settings can be managed within the indicator settings input tab.
***MARKETS***
This indicator can be used as a signal on all markets, including stocks, crypto, futures and forex.
***TIMEFRAMES***
This RSI Scalping & Swing Signals indicator can be used on all timeframes.
***TIPS***
Try using numerous indicators of ours on your chart so you can instantly see the bullish or bearish trend of multiple indicators in real time without having to analyze the data. Some of our favorites are Trend Friend Scalp & Swing Trade Signals, Volume Spike Scanner, Buy & Sell Pressure Volume Profile, and Momentum Scalper in combination with this RSI indicator. They all have real time Bullish and Bearish labels as well so you can immediately understand each indicator's trend.
Momentum Scalping & Swing Signals With AlertsThis Momentum indicator shows a green or red ribbon when smoothed momentum is bullish or bearish. It also includes a long moving average for overall trend confirmation. Wait until the ribbon holds above or below the long moving average and take positions in that direction.
To get an easier to read momentum indicator, I smoothed the momentum out and paired it next to a short term RMA. These two together form the ribbon that will show you early reversals and trend direction. The long moving average is used as an overall trend detector and confirmation for longer term trends.
***HOW TO USE***
Scalping: Enter longs when the ribbon turns green and enter shorts when the ribbon turns red. Exit positions when the ribbon turns the opposite color or crosses the long moving average.
Swing Trading: When the ribbon holds above the long moving average or breaks out and retests it, look for long positions and exit when the ribbon turns red or crosses the long moving average. When the ribbon holds below the long moving average or breaks down and retests it, look for short positions and exit when the ribbon turns green or crosses the long moving average.
***DETAILS***
This indicator gives early reversal signals very well and waiting for the momentum ribbon to cross the long moving average helps to get you into positions when the market is ready to really move while filtering out some of the noise.
The ribbon and background will change to green or red depending on whether it is currently bullish or bearish.
There is also a label that changes colors and tells you if momentum is bullish or bearish and also whether the momentum ribbon is above or below the long moving average.
Green or red circles will appear on the indicator when there is a bullish or bearish cross of the momentum ribbon and the long moving average.
It includes alerts that trigger when momentum is turning bullish/bearish or when the momentum ribbon is crossing the long moving average.
***CUSTOMIZATION***
Each piece of this indicator can be customized to suit your preferences including the momentum source, length, smoothing length, short moving average length and long moving average length. You can also turn off the labels, signals and long moving average. All of these settings can be managed within the indicator settings input tab.
***MARKETS***
This indicator can be used as a signal on all markets, including stocks, crypto, futures and forex.
***TIMEFRAMES***
This Momentum Scalping & Swing Signals indicator can be used on all timeframes.
***TIPS***
Try using numerous indicators of ours on your chart so you can instantly see the bullish or bearish trend of multiple indicators in real time without having to analyze the data. Some of our favorites are Trend Friend Scalp & Swing Trade Signals, Volume Spike Scanner, Buy & Sell Pressure Volume Profile, and RSI Scalper in combination with this momentum indicator. They all have real time Bullish and Bearish labels as well so you can immediately understand each indicator's trend.
Auto Support & Resistance With Wick Signals & Percentage GapsThis auto support and resistance indicator uses percentage deviations from the previous session close to calculate levels. It provides arrows as signals when it detects 2 wicks in the last 5 bars from a support or resistance level. Includes alerts for price crossing any level as well as real time percentage gaps from current price to the next closest support and resistance level. You also have the option to set up to 3 major levels of your own for any levels that are very important on longer timeframes that you want included. Those will show on the chart as well as within your percentage gap table with color coded background. All features can be customized or turned off to suit your preferences.
SOURCE
This indicator uses the previous session close as a source by default but can be adjusted to use the previous session high or the previous session low. I find the close setting to provide the most accurate levels.
SESSION
The default setting for the previous session used is the daily session but can be adjusted to use the daily, weekly, monthly, quarterly or yearly session. Use longer sessions when looking at longer time frame charts.
SIGNALS
The signals by default are set to only show an arrow if there have been 2 bullish or bearish wicks off of a support or resistance level in the last 5 bars. This can be changed to one bullish wick off of support and one bearish wick off of resistance or it can be set to give a signal anytime a bar crosses a support or resistance level. This can be controlled in the indicator settings.
PERCENTAGE DEVIATION LEVELS
The default percentage deviation is set to 1% but can and should be adjusted according to whatever ticker you are using. For example use .25% or .5% when looking at forex intraday charts since they are not as volatile as other markets. For leveraged etfs used 1% multiplied by the leverage on the etf, so for SQQQ use 3% as it is a 3x leveraged etf. When looking at longer timeframes or highly volatile charts, set the percentage deviation to 2%, 5%, 10%, etc.
LINE COLORS
The color of the lines will change from red to green depending on if the price is above or below that level. You can customize these colors in the settings.
MAJOR LEVELS
If you have major levels of support and resistance from longer timeframes and your own charting, you can add up to 3 major levels that will show on the chart as well as show the percentage gaps in the table. The label for each major level will be colored to match the color of the line on the chart individually.
PERCENTAGE GAP TABLE
The gap table will update live with percentages to go from current price to the next closest support and resistance levels so you don’t have to calculate them manually. The position of the percentage gap table can also be changed within the indicator settings.
TURN FEATURES ON/OFF
There are 3 toggle switches so you can easily turn on or off certain features such as: the support and resistance lines, the percentage gaps table and the arrow signals.
LINE WIDTHS
You can also set the line width of all levels and the line width of the starting level within the indicator settings.
***MARKETS***
This indicator can be used as a signal on all markets, including stocks, crypto, futures and forex.
***TIMEFRAMES***
This automatic support and resistance indicator can be used on all timeframes as long as there is enough data for the session used.
***TIPS***
Try using numerous indicators of ours on your chart so you can instantly see the bullish or bearish trend of multiple indicators in real time without having to analyze the data. Some of our favorites are our Volume Spike Scanner, Volume Profile, Momentum and Trend Friend in combination with this auto support and resistance indicator. They all have real time Bullish and Bearish labels as well so you can immediately understand each indicator's trend.
Single Prints - Session Initial BalancesDisclaimer: Expose yourself to the knowledge of different trading methods. If you are unaware of what a Single Print is then do some research and broaden your knowledge.
This indicator has only been tested on BTCUSDT Binance pair. This indicator is meant to be used on the 30 minute timeframe to highlight Single Prints.
The calculations are base on 0000 UTC and what Single Prints are created during that day.
Single Prints
Single Prints are where prices moves to fast through an area (on a 30 minute timeframe), in the case of this indicator in $50 intervals, where the price has not yet cross back past, represented as orange lines. If you were viewing this on a Time Price Opportunity Chart (TPO) each $50 would be represented as a square with a letter in it. If price has only been through that area once, within that 24 hour period, then it is called a Single Print. If however the Single Print is on the lower wick of the candle it is called a Buying Tail and on the Upper Wick a Selling Tail.
Single Prints leave low volume nodes with liquidity gaps, these inefficient moves tend to get filled, and we can seek trading opportunities once they get filled, or we can also enter before they get filled and use these single prints as targets.
Single Prints are a sign of emotional buying or selling as very little time was spent at those levels and thus there is no value there.
The endpoints of single print sections are considered to be potential support or resistance points and or get filled (like a CME gap).
The above is only a very short summary, to understand Single Prints, Buying Tails and Selling Tails more please do your own research (DYOR).
References:
Trading Riot Volume Profile - Website
TOROS TPO Charts Explained - Youtube
Session Boxes
Session Boxes are the high and low of that markets session before the new market session opens. I used the data from the website Trading Hours for the time input.
White box – Start of day UTC 0000 to Market Close UTC 2000
Purple box – Asia Start UTC 0130 to London Start UTC 0700
Yellow box – London Start UTC 0700 to New York Start UTC 1330
Blue box – New York Start UTC 1330 to Market Close UTC 2000
Red box – Market Close UTC 2000 to End of day UTC 2359
References:
Trading Hours - Website
Initial Balance
The Initial Balance is the market range between the high and low of the first hour of trading for the market. In the case of crypto when is the Initial Balance if it is 24/7.
Context of Initial Balance:
The Initial Balance is traditionally the range of prices transacted in the first hour of trade. Many regard the Initial Balance as a significant range because, especially for the index futures which are tied to the underlying stocks, orders entered overnight or before the open are typically executed prior to the end of the first hour of trade. Some use it to understand how the rest of the day may develop, while others use it as a span of time to avoid trading altogether because of its potential volatility.
For this indicator I have coded the Initial Balance time as below:
White Box - To appear for the first hour of the day 0000 to 0100 UTC .
Purple Box - To appear for the first hour of the day 0130 to 0230 UTC .
Yellow Box - To appear for the first hour of the day 0700 to 0800 UTC .
Blue Box - To appear for the first hour of the day 1330 to 1430 UTC .
Red Box - To appear for the first hour of the day 2000 to 2100 UTC .
The diagram above shows some examples:
How price (white arrows) retraces the single prints.
How price (red arrows) uses the single prints as S/R.
References:
Not Hard Trading – Website
My Pivots Initial Balance - Website
Thanks go to:
StackOverFlow Bjorn Mistiaen
Trading View user mvs1231
Please message me if you have any feedback/questions.
I am looking at developing this indicator further in the future.
Close and Open for Volume Profile AnalysisThis script adds arrows to where Open and/or Close are.
It is usually better to study seasonal volume with candles off, yet it is worth knowing where the closing price is.
PRIME - ShadoW ZoneZ with RSI LevelsIn This experimental study, we've taken RSI data, Volume Profile, and Trend analysis, combining them into one unique package that will allow a trader to analyze market trend lines and their proposed channels, trend momentum through candle color augmentation similar to "Pulse", and Visible Volume index price levels on chart for the current sequence. Below are explanations of each function within the system.
The Semafor is used to spot future multi-level Supports and Resistance zones.
It is also useful to spot HL or LL or HH or LH zones at different Depth settings.
The red zones are the extreme places where the market has a higher chance of reversing while the green zones have the lowest setting with lower chances of the market reversal
Automatic Trend Lines
The indicator takes in 2 timeframes to detect High and Low values from which to draw the trend lines of each timeframe.
As the values change with price movement, the lines are updated. They are color coded for uptrend and downtrend based on the direction of each individual line. Trend lines can be set up to color with only the default value on the configurations panel.
- Toggle on/off Color Coded
- Change Default, Uptrend, Downtrend color
- Change Line Width
- Change Line Style
- Toggle on/off Line Extensions
- Change Extended Line Width
- Change Extended Line Style
- Toggle On/Off labels for 7 data points of each timeframe
Automatic Trend Sights
This is a neat feature that may help you get a better feel for the direction the current movement is heading towards in correlation with the short or medium length timeframe trends. The sight draws a line from the middle vertical point of the trend coordinates towards the current price. They are toggled off by default but can be enabled in the configurations panel.
- Toggle on/off sight on each timeframe
- Change Width
- Change Line Style
Support & Resistance Levels, the main aim of the study. Level calculations are based on Relative Strength Index ( RSI ) threshold levels of oversold/overbought and bull/bear zones, where all threshold values are customizable through the user dialog box. Background of the levels can be colored optionally.
RSI Weighted Colored Bars and/or Mark Overbought/Oversold Bars , Bar colors can be painted to better emphasis RSI values. Darker colors when the oscillator is in oversold/overbought zones, light colors when oscillator readings are below/above the bull/bear zone respectively, and remain unchanged otherwise. Besides the colors, with “Display RSI Overbought/Oversold Price Bars” option little triangle shapes can be plotted on top or bottom of the bars when RSI is in oversold/overbought zones .
Disclaimer:
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
Mean Deviation Detector - Throw Out All Other IndicatorsI set out this morning to create a script that searches out price moves that went too far too fast relative to historical pricing, given that such situations often result in the most profitable trading opportunities. I came up with the mean deviation detector. This script should be used as a means of judging how far a price is trading, in percent terms, from it's "average trading zone".
This is extremely helpful in a couple scenarios.
First, it can be used to judge a move's volatility relative to it's previous volatility. Put simply, a 5% move in the stock of Coca Cola is a lot more meaningful than a 5% move in the stock of Tesla, and the detector puts moves into historical (visual) perspective.
Second, the indicator can be used in real time as a means of determining when the chances of mean reversion are high or low. Extreme values are unsustainable and often lead to EITHER A.) price mean reversion or B.) time mean reversion. Put simply, prices either went too far and are due to fall back to a historical mean, or they need more time to digest a potentially new pricing zone.
Without getting too deep into volume profile analysis, the MDD can be a simple way of telling that a stock has moved into an "air pocket", where prices will either come back to the previous volume node (price mean reversion) or set up shop in a new, uncharted area (time mean reversion).
An extreme value doesn't always mean a trading opportunity, but it means that something interesting is happening in the stock / instrument.
I use this indicator to help me trade covered calls. Lots of high yielding weekly opportunities are stocks that have moved too far too fast, and I like to use this indicator as a means of either a.) scooping up stocks that have gotten beat up from a historical mean perspective & have likely seen the risk already "beaten" out of them, or to b.) stay away from stocks that have a very high chance of price correcting lower. In situations where I say that the risk has been "beaten" out of something, it doesn't mean that the stock won't continue to fall, it simply means that the degree and acceleration of the fall has peaked and that risk premiums in selling options will / should easily pay for continued losses. In the event that it's a price correction and not a time correction, you also increase your bat rate because you get auto-liquidated at a max profit. It's a really valuable tool in my kit.
You can also feel free to put a Keltner Chanel overlay onto the MDD to filter out noise, identify "extreme" values, and place mean reversion trades if you expect price mean reversion is likely, if you want to use this as the basis of a proper trading strategy. For a high extreme value, you could sell short term OTM call spreads, for example.
The MDD is adaptable to your own trading style & preferences.
Hancock - Volume HeatSimple script that shows the volume profile over a moving period as a heat map. Value area is the green area with the white line as the POC.
Happy trading
Hancock
Initial Balance - (IB)Hello Traders,
--->> Initial Balance (IB) which plays a very important role in Day Trading, that can be used as a referance area <<---
This indicator plots the 1 Hr IB high and low area that can be used as a tool for trading decision.
Will be very helpful to the traders who has idea about Volume Profile trading.
Just a note :
If the IB is narrow compared to the prev day then one can expect a breakout, if IB is extended then the day might be oscillating inside the area only.
nothing fancy :)))
cheers,
enjoy
Sanjay Ramanathan
MGC1! - TPO & Volume Profile (High Precision)The official TPO takes into account the entire height of the candle (High to Low). If a candle goes from 4270 to 4280, the TPO adds a “mark” on all intermediate prices, not just at the close. That's why your VAH was too low: the script was “missing” the entire upper area of the wicks and bodies.
I rewrote the script engine so that it scans the inside of the candles (High to Low).
Here is the “High Precision” script. It is more computationally intensive (because it loops on each tick), but it will stick much closer to the official TPO values.
Corrective Script: MGC1! TPO Precision (High-Low Scan)
Copy this, replace the old one, and read the settings below carefully.
Translated with DeepL.com (free version)
All-in-One (PHT)All-in-One (PHT) — Modular Multi-Tool Market Analyzer (Pine Script v6)
All-in-One (PHT) is a complete, modular market-analysis toolkit designed for traders who want clean, reliable, and professional-grade charting - in a single indicator.
Built using Pine Script® v6 and structured with reusable PHT-Libraries (EMA Band, Bollinger Band, Fractal, Session), this indicator delivers clarity, precision, and consistent performance across all markets and timeframes.
Unlike traditional indicators that mix logic and visuals, AIO (PHT) uses a fully modular architecture. All calculations come from dedicated libraries, and this main script focuses purely on visual output and clean plotting.
This ensures:
Stable plot references
Zero repainting in all included modules
High performance even with complex overlays
Easy extensibility for future upgrades
🔥 Included Modules
1. EMA Band (PHT Library)
A triple-EMA band designed for trend clarity and structure.
Provides:
EMA of High
EMA of Close
EMA of Low
Band fill visualization
Ideal for identifying trend strength, momentum pockets, and mean-reversion zones.
2. Bollinger Band Suite
A complete Bollinger framework with:
SMA / EMA / WMA midline options
Dual standard-deviation envelopes
Multi-zone band fills (upper, middle, lower)
User-controlled visibility for each layer
Perfect for volatility detection, squeeze identification, and precision envelope trading.
3. Fractal Engine (High/Low Pivots)
Fast, reliable fractal detection using user-defined left/right periods.
Features:
Pivot Highs & Pivot Lows
Multiple marker sizes (Tiny → Large)
Zero-lag plotting with proper offset handling
Useful for swing structure, breakout confirmation, and automated level marking.
4. Market Session Tracker
A powerful session-mapping module that visually highlights market sessions with:
Dynamic session boxes
High & Low markers
Persistent historical sessions
Auto-managed labels, lines, and live updates
Timezone-aware session boundaries (supports IANA zones)
Designed for identifying daily ranges, session liquidity, volatility pockets, and market timing.
🧠 Why This Indicator Is Different
Most “all-in-one” tools mix plotting, logic, and calculations in a single heavy script, causing lag, reference instability, and repainting issues.
All-in-One (PHT) solves this by using a Pine v6 library architecture:
Each component is computed in its own library
The main script handles only visuals
No hidden code, no repainting tricks
Maximum clarity and maintainability
This design mirrors professional software architecture:
clear separation of logic, visuals, and user interface.
🎯 Ideal For
Trend traders
Scalpers & intraday traders
Swing and positional traders
Volatility analysts
Structure-based price action traders
Anyone who wants multiple high-quality tools in one clean indicator
Whether you analyze markets manually or build algorithmic systems, AIO (PHT) provides a solid foundation.
⚙️ Features at a Glance
Fully modular Pine v6 design
Complete EMA band engine
Advanced Bollinger band system (multi-deviation, multi-fill)
Configurable fractal high/low markers
Smart session boxing with history
Clean visuals and transparent settings
No repainting
Fully customizable colors & visibility
Optimized for performance
💡 How to Use
Choose the modules you want to display (EMA, BB, Fractals, Sessions).
Adjust lengths, deviations, or fractal periods as per your trading style.
Use session boxes to understand volatility timing.
Combine bands + fractals for advanced structure-based decisions.
The indicator is designed to overlay on price for maximum clarity.
🚀 Future Upgrades
The PHT framework supports smooth future expansion. Planned modules include:
ATR/volatility engines
Trend switches
Supertrend/Donchian plugins
Volume profile extensions
Updates will remain backward compatible across all modules.
⭐ Summary
All-in-One (PHT) is not just another overlay — it’s a complete multi-tool trading framework built using professional engineering practices in Pine Script v6.
If you want cleaner charts, smarter signals, and a high-performance modular system, this indicator gives you everything in one reliable package.
Curvature Tensor Pivots - HIVECurvature Tensor Pivots - HIVE
I. CORE CONCEPT & ORIGINALITY
Curvature Tensor Pivots - HIVE is an advanced, multi-dimensional pivot detection system that combines differential geometry, reinforcement learning, and statistical physics to identify high-probability reversal zones before they fully form. Unlike traditional pivot indicators that rely on simple price comparisons or lagging moving averages, this system models price action as a smooth curve in geometric space and calculates its mathematical curvature (how sharply the price trajectory is "bending") to detect pivots with scientific precision.
What Makes This Original:
Differential Geometry Engine: The script calculates first and second derivatives of price using Kalman-filtered trajectory analysis, then computes true mathematical curvature (κ) using the classical formula: κ = |y''| / (1 + y'²)^(3/2). This approach treats price as a physical phenomenon rather than discrete data points.
Ghost Vertex Prediction: A proprietary algorithm that detects pivots 1-3 bars BEFORE they complete by identifying when velocity approaches zero while acceleration is high—this is the mathematical definition of a turning point.
Multi-Armed Bandit AI: Four distinct pivot detection strategies (Fast, Balanced, Strict, Tensor) run simultaneously in shadow portfolios. A Thompson Sampling reinforcement learning algorithm continuously evaluates which strategy performs best in current market conditions and automatically selects it.
Hive Consensus System: When 3 or 4 of the parallel strategies agree on the same price zone, the system generates "confluence zones"—areas of institutional-grade probability.
Dynamic Volatility Scaling (DVS): All parameters auto-adjust based on current ATR relative to historical average, making the indicator adaptive across all timeframes and instruments without manual re-optimization.
II. HOW THE COMPONENTS WORK TOGETHER
This is NOT a simple mashup —each subsystem feeds data into the others in a closed-loop learning architecture:
The Processing Pipeline:
Step 1: Geometric Foundation
Raw price is normalized against a 50-period SMA to create a trajectory baseline
A Zero-Lag EMA smooths the trajectory while preserving edge response
Kalman filter removes noise while maintaining signal integrity
Step 2: Calculus Layer
First derivative (y') measures velocity of price movement
Second derivative (y'') measures acceleration (rate of velocity change)
Curvature (κ) is calculated from these derivatives, representing how sharply price is turning
Step 3: Statistical Validation
Z-Score measures how many standard deviations current price deviates from the Kalman-filtered "true price"
Only pivots with Z-Score > threshold (default 1.2) are considered statistically significant
This filters out noise and micro-fluctuations
Step 4: Tensor Construction
Curvature is combined with volatility (ATR-based) and momentum (ROC-based) to create a multidimensional "tensor score"
This tensor represents the geometric stress in the price field
High tensor magnitude = high probability of structural failure (reversal)
Step 5: AI Decision Layer
All 4 bandit strategies evaluate current conditions using different sensitivity thresholds
Each strategy maintains a virtual portfolio that trades its signals in real-time
Thompson Sampling algorithm updates Bayesian priors (alpha/beta distributions) based on each strategy's Sharpe ratio, win rate, and drawdown
The highest-performing strategy's signals are displayed to the user
Step 6: Confluence Aggregation
When multiple strategies agree on the same price zone, that zone is highlighted as a confluence area. These represent "hive mind" consensus—the strongest setups
Why This Integration Matters:
Traditional indicators either detect pivots too late (lagging) or generate too many false signals (noisy). By requiring geometric confirmation (curvature), statistical significance (Z-Score), multi-strategy agreement (hive voting), and performance validation (RL feedback) , this system achieves institutional-grade precision. The reinforcement learning layer ensures the system adapts as market regimes change, rather than degrading over time like static algorithms.
III. DETAILED METHODOLOGY
A. Curvature Calculation (Differential Geometry)
The system models price as a parametric curve where:
x-axis = time (bar index)
y-axis = normalized price
The curvature at any point represents how quickly the direction of the tangent line is changing. High curvature = sharp turn = potential pivot.
Implementation:
Lookback window (default 8 bars) defines the local curve segment
Smoothing (default 5 bars) applies adaptive EMA to reduce tick noise
Curvature is normalized to 0-1 scale using local statistical bounds (mean ± 2 standard deviations)
B. Ghost Vertex (Predictive Pivot Detection)
Classical pivot detection waits for price to form a swing high/low and confirm. Ghost Vertex uses calculus to predict the turning point:
Conditions for Ghost Pivot:
Velocity (y') ≈ 0 (price rate of change approaching zero)
Acceleration (y'') ≠ 0 (change is decelerating/accelerating)
Z-Score > threshold (statistically abnormal position)
This allows detection 1-3 bars before the actual high/low prints, providing an early entry edge.
C. Multi-Armed Bandit Reinforcement Learning
The system runs 4 parallel "bandits" (agents), each with different detection sensitivity:
Bandit Strategies:
Fast: Low curvature threshold (0.1), low Z-Score requirement (1.0) → High frequency, more signals
Balanced: Standard thresholds (0.2 curvature, 1.5 Z-Score) → Moderate frequency
Strict: High thresholds (0.4 curvature, 2.0 Z-Score) → Low frequency, high conviction
Tensor: Requires tensor magnitude > 0.5 → Geometric-weighted detection
Learning Algorithm (Thompson Sampling):
Each bandit maintains a Beta distribution with parameters (α, β)
After each trade outcome, α is incremented for wins, β for losses
Selection probability is proportional to sampled success rate from the distribution
This naturally balances exploration (trying underperformed strategies) vs exploitation (using best strategy)
Performance Metrics Tracked:
Equity curve for each shadow portfolio
Win rate percentage
Sharpe ratio (risk-adjusted returns)
Maximum drawdown
Total trades executed
The system displays all metrics in real-time on the dashboard so users can see which strategy is currently "winning."
D. Dynamic Volatility Scaling (DVS)
Markets cycle between high volatility (trending, news-driven) and low volatility (ranging, quiet). Static parameters fail when regime changes.
DVS Solution:
Measures current ATR(30) / close as normalized volatility
Compares to 100-bar SMA of normalized volatility
Ratio > 1 = high volatility → lengthen lookbacks, raise thresholds (prevent noise)
Ratio < 1 = low volatility → shorten lookbacks, lower thresholds (maintain sensitivity)
This single feature is why the indicator works on 1-minute crypto charts AND daily stock charts without parameter changes.
E. Confluence Zone Detection
The script divides the recent price range (200 bars) into 200 discrete zones. On each bar:
Each of the 4 bandits votes on potential pivot zones
Votes accumulate in a histogram array
Zones with ≥ 3 votes (75% agreement) are drawn as colored boxes
Red boxes = resistance confluence, Green boxes = support confluence
These zones act as magnet levels where price often returns multiple times.
IV. HOW TO USE THIS INDICATOR
For Scalpers (1m - 5m timeframes):
Settings: Use "Aggressive" or "Adaptive" pivot mode, Curvature Window 5-8, Min Pivot Strength 50-60
Entry Signal: Triangle marker appears (🔺 for longs, 🔻 for shorts)
Confirmation: Check that Hive Sentiment on dashboard agrees (3+ votes)
Stop Loss: Use the dotted volatility-adjusted target line in reverse (if pivot is at 100 with target at 110, stop is ~95)
Take Profit: Use the projected target line (default 3× ATR)
Advanced: Wait for confluence zone formation, then enter on retest of the zone
For Day Traders (15m - 1H timeframes):
Settings: Use "Adaptive" mode (default settings work well)
Entry Signal: Pivot marker + Hive Consensus alert
Confirmation: Check dashboard—ensure selected bandit has Sharpe > 1.5 and Win% > 55%
Filter: Only take pivots with Pivot Strength > 70 (shown in dashboard)
Risk Management: Monitor the Live Position Tracker—if your selected bandit is holding a position, consider that as market structure context
Exit: Either use target lines OR exit when opposite pivot appears
For Swing Traders (4H - Daily timeframes):
Settings: Use "Conservative" mode, Curvature Window 12-20, Min Bars Between Pivots 15-30
Focus on Confluence: Only trade when 4/4 bandits agree (unanimous hive consensus)
Entry: Set limit orders at confluence zones rather than market orders at pivot signals
Confirmation: Look for breakout diamonds (◆) after pivot—these signal momentum continuation
Risk Management: Use wider stops (base stop loss % = 3-5%)
Dashboard Interpretation:
Top Section (Real-Time Metrics):
κ (Curv): Current curvature. >0.6 = active pivot forming
Tensor: Geometric stress. Positive = bullish bias, Negative = bearish bias
Z-Score: Statistical deviation. >2.0 or <-2.0 = extreme outlier (strong signal)
Bandit Performance Table:
α/β: Bayesian parameters. Higher α = more wins in history
Win%: Self-explanatory. >60% is excellent
Sharpe: Risk-adjusted returns. >2.0 is institutional-grade
Status: Shows which strategy is currently selected
Live Position Tracker:
Shows if the selected bandit's shadow portfolio is currently holding a position
Displays entry price and real-time P&L
Use this as "what the AI would do" confirmation
Hive Sentiment:
Shows vote distribution across all 4 bandits
"BULLISH" with 3+ green votes = high-conviction long setup
"BEARISH" with 3+ red votes = high-conviction short setup
Alert Setup:
The script includes 6 alert conditions:
"AI High Pivot" = Selected bandit signals short
"AI Low Pivot" = Selected bandit signals long
"Hive Consensus BUY" = 3+ bandits agree on long
"Hive Consensus SELL" = 3+ bandits agree on short
"Breakout Up" = Resistance breakout (continuation long)
"Breakdown Down" = Support breakdown (continuation short)
Recommended Alert Strategy:
Set "Hive Consensus" alerts for high-conviction setups
Use "AI Pivot" alerts for active monitoring during your trading session
Use breakout alerts for momentum/trend-following entries
V. PARAMETER OPTIMIZATION GUIDE
Core Geometry Parameters:
Curvature Window (default 8):
Lower (3-5): Detects micro-structure, best for scalping volatile pairs (crypto, forex majors)
Higher (12-20): Detects macro-structure, best for swing trading stocks/indices
Rule of thumb: Set to ~0.5% of your typical trade duration in bars
Curvature Smoothing (default 5):
Increase if you see too many false pivots (noisy instrument)
Decrease if pivots lag (missing entries by 2-3 bars)
Inflection Threshold (default 0.20):
This is advanced. Lower = more inflection zones highlighted
Useful for identifying order blocks and liquidity voids
Most users can leave default
Pivot Detection Parameters:
Pivot Sensitivity Mode:
Aggressive: Use in low-volatility range-bound markets
Normal: General purpose
Adaptive: Recommended—auto-adjusts via DVS
Conservative: Use in choppy, whipsaw conditions or for swing trading
Min Bars Between Pivots (default 8):
THIS IS CRITICAL for visual clarity
If chart looks cluttered, increase to 12-15
If missing pivots, decrease to 5-6
Match to your timeframe: 1m charts use 3-5, Daily charts use 20+
Min Z-Score (default 1.2):
Statistical filter. Higher = fewer but stronger signals
During news events (NFP, FOMC), increase to 2.0+
In calm markets, 1.0 works well
Min Pivot Strength (default 60):
Composite quality score (0-100)
80+ = institutional-grade pivots only
50-70 = balanced
Below 50 = will show weak setups (not recommended)
RL & DVS Parameters:
Enable DVS (default ON):
Leave enabled unless you want to manually tune for a specific market condition
This is the "secret sauce" for cross-timeframe performance
DVS Sensitivity (default 1.0):
Increase to 1.5-2.0 for extremely volatile instruments (meme stocks, altcoins)
Decrease to 0.5-0.7 for stable instruments (utilities, bonds)
RL Algorithm (default Thompson Sampling):
Thompson Sampling: Best for non-stationary markets (recommended)
UCB1: Best for stable, mean-reverting markets
Epsilon-Greedy: For testing only
Contextual: Advanced—uses market regime as context
Risk Parameters:
Base Stop Loss % (default 2.0):
Set to 1.5-2× your instrument's average ATR as a percentage
Example: If SPY ATR = $3 and price = $450, ATR% = 0.67%, so use 1.5-2.0%
Base Take Profit % (default 4.0):
Aim for 2:1 reward/risk ratio minimum
For mean-reversion strategies, use 1.5-2.0%
For trend-following, use 3-5%
VI. UNDERSTANDING THE UNDERLYING CONCEPTS
Why Differential Geometry?
Traditional technical analysis treats price as discrete data points. Differential geometry models price as a continuous manifold —a smooth surface that can be analyzed using calculus. This allows us to ask: "At what rate is the trend changing?" rather than just "Is price going up or down?"
The curvature metric captures something fundamental: inflection points in market psychology . When buyers exhaust and sellers take over (or vice versa), the price trajectory must curve. By measuring this curvature mathematically, we detect these psychological shifts with precision.
Why Reinforcement Learning?
Markets are non-stationary —statistical properties change over time. A strategy that works in Q1 may fail in Q3. Traditional indicators have fixed parameters and degrade over time.
The multi-armed bandit framework solves this by:
Running multiple strategies in parallel (diversification)
Continuously measuring performance (feedback loop)
Automatically shifting capital to what's working (adaptation)
This is how professional hedge funds operate—they don't use one strategy, they use ensembles with dynamic allocation.
Why Kalman Filtering?
Raw price contains two components: signal (true movement) and noise (random fluctuations). Kalman filters are the gold standard in aerospace and robotics for extracting signal from noisy sensors.
By applying this to price data, we get a "clean" trajectory to measure curvature against. This prevents false pivots from bid-ask bounce or single-print anomalies.
Why Z-Score Validation?
Not all high-curvature points are tradeable. A sharp turn in a ranging market might just be noise. Z-Score ensures that pivots occur at statistically abnormal price levels —places where price has deviated significantly from its Kalman-filtered "fair value."
This filters out 70-80% of false signals while preserving true reversal points.
VII. COMMON USE CASES & STRATEGIES
Strategy 1: Confluence Zone Reversal Trading
Wait for confluence zone to form (red or green box)
Wait for price to approach zone
Enter when pivot marker appears WITHIN the confluence zone
Stop: Beyond the zone
Target: Opposite confluence zone or 3× ATR
Strategy 2: Hive Consensus Scalping
Set alert for "Hive Consensus BUY/SELL"
When alert fires, check dashboard—ensure 3-4 votes
Enter immediately (market order or 1-tick limit)
Stop: Tight, 1-1.5× ATR
Target: 2× ATR or opposite pivot signal
Strategy 3: Bandit-Following Swing Trading
On Daily timeframe, monitor which bandit has best Sharpe ratio over 30+ days
Take ONLY that bandit's signals (ignore others)
Enter on pivot, hold until opposite pivot or target line
Position size based on bandit's current win rate (higher win% = larger position)
Strategy 4: Breakout Confirmation
Identify key support/resistance level manually
Wait for pivot to form AT that level
If price breaks level and diamond breakout marker appears, enter in breakout direction
This combines support/resistance with geometric confirmation
Strategy 5: Inflection Zone Limit Orders
Enable "Show Inflection Zones"
Place limit buy orders at bottom of purple zones
Place limit sell orders at top of purple zones
These zones represent structural change points where price often pauses
VIII. WHAT THIS INDICATOR DOES NOT DO
To set proper expectations:
This is NOT:
A "holy grail" with 100% win rate
A strategy that works without risk management
A replacement for understanding market fundamentals
A signal copier (you must interpret context)
This DOES NOT:
Predict black swan events
Account for fundamental news (you must avoid trading during major news if not experienced)
Work well in extremely low liquidity conditions (penny stocks, microcap crypto)
Generate signals during consolidation (by design—prevents whipsaw)
Best Performance:
Liquid instruments (SPY, ES, NQ, EUR/USD, BTC/USD, etc.)
Clear trend or range conditions (struggles in choppy transition periods)
Timeframes 5m and above (1m can work but requires experience)
IX. PERFORMANCE EXPECTATIONS
Based on shadow portfolio backtesting across multiple instruments:
Conservative Mode:
Signal frequency: 2-5 per week (Daily charts)
Expected win rate: 60-70%
Average RRR: 2.5:1
Adaptive Mode:
Signal frequency: 5-15 per day (15m charts)
Expected win rate: 55-65%
Average RRR: 2:1
Aggressive Mode:
Signal frequency: 20-40 per day (5m charts)
Expected win rate: 50-60%
Average RRR: 1.5:1
Note: These are statistical expectations. Individual results depend on execution, risk management, and market conditions.
X. PRIVACY & INVITE-ONLY NATURE
This script is invite-only to:
Maintain signal quality (prevent market impact from mass adoption)
Provide dedicated support to users
Continuously improve the algorithm based on user feedback
Ensure users understand the complexity before deploying real capital
The script is closed-source to protect proprietary research in:
Ghost Vertex prediction mathematics
Tensor construction methodology
Bandit reward function design
DVS scaling algorithms
XI. FINAL RECOMMENDATIONS
Before Trading Live:
Paper trade for minimum 2 weeks to understand signal timing
Start with ONE timeframe and master it before adding others
Monitor the dashboard —if selected bandit Sharpe drops below 1.0, reduce size
Use confluence and hive consensus for highest-quality setups
Respect the Min Bars Between Pivots setting —this prevents overtrading
Risk Management Rules:
Never risk more than 1-2% of account per trade
If 3 consecutive losses occur, stop trading and review (possible regime change)
Use the shadow portfolio as a guide—if ALL bandits are losing, market is in transition
Combine with other analysis (order flow, volume profile) for best results
Continuous Learning:
The RL system improves over time, but only if you:
Keep the indicator running (it learns from bar data)
Don't constantly change parameters (confuses the learning)
Let it accumulate at least 50 samples before judging performance
Review the dashboard weekly to see which bandits are adapting
CONCLUSION
Curvature Tensor Pivots - HIVE represents a fusion of advanced mathematics, machine learning, and practical trading experience. It is designed for serious traders who want institutional-grade tools and understand that edge comes from superior methodology, not magic formulas.
The system's strength lies in its adaptive intelligence —it doesn't just detect pivots, it learns which detection method works best right now, in this market, under these conditions. The hive consensus mechanism provides confidence, the geometric foundation provides precision, and the reinforcement learning provides evolution.
Use it wisely, manage risk properly, and let the mathematics work for you.
Disclaimer: This indicator is a tool for analysis and does not constitute financial advice. Past performance of shadow portfolios does not guarantee future results. Trading involves substantial risk of loss. Always perform your own due diligence and never trade with capital you cannot afford to lose.
Taking you to school. — Dskyz, Trade with insight. Trade with anticipation.
Timed Swing Points [Free +] | cephxsTimed Swing Points | cephxs
This indicator is published under the Mozilla Public License 2.0. © cephxs, © fstarcapital
1. OVERVIEW
Timed Swing Points (TSP) highlights the timing of recent confirmed swing highs and lows and annotates them with context-aware time labels. Instead of drawing traditional pivot shapes and cluttering the chart, this streamlined free edition focuses on the temporal structure: WHEN pivots occur, not just WHERE . It helps discretionary traders quickly scan for clustering of swings around repeating intraday minutes or higher‑timeframe day names.
2. WHAT IT DOES
Detects swing highs and lows using a sensitivity factor (len)
Adds a time (or day name on daily timeframe) label at each qualified swing
Optional filtering to only show labels during defined "key time" minute windows
Automatically adapts label content to timeframe:
Intraday: HH:MM (24h or 12h model depending future input extension)
Daily: Full or abbreviated weekday names
Respects a maximum number of displayed swing points to keep charts clean
3. CORE FEATURES
Swing Detection: Uses ta.pivothigh(len, len) / ta.pivotlow(len, len); a pivot is confirmed only after enough bars pass, avoiding repaint on the current bar.
Time Labeling: Places labels offset back to the pivot bar index (bar_index - len).
Key Time Filtering: When enabled, labels only show if the pivot's minute is inside one of three windows: 00–10, 24–36, 50–59 minutes. These windows target common liquidity / volatility phases.
Day Name Mode: On daily timeframe, labels display full (e.g., Monday) or abbreviated (e.g., Mon) day names depending on the Full Day Names setting.
Point Limiting: Oldest labels are removed once Maximum Points Displayed is exceeded.
Clean Visual Footprint: Shape markers and lines are disabled in this free build (internally set to constants). Focus remains on time annotation density rather than price level persistence.
4. INPUTS & PARAMETERS
Sensitivity (len): Default 2. Swing pivot width. Higher = fewer, broader swings
Maximum Points Displayed: Default 10. Caps number of recent swing labels retained
Show Time Labels: Default true. Master toggle for all time labels
Key Times Only: Default true. Restricts labels to predefined minute windows
Prefix: Default blank. Optional text prepended to each label
High Time Color: Default red. Text color for swing high labels
Low Time Color: Default blue. Text color for swing low labels
Text Size: Default Small. Controls label text size (Tiny → Huge)
Full Day Names: Default true. Show full weekday names on daily timeframe
Internal Constants (Not User-Adjustable):
Shape display flags (show_high, show_low) set false
Line display and deletion logic present but disabled
Timezone currently fixed to America/New_York in Automatic mode; DST handled by TradingView engine
5. HOW SWING TIME IS DETERMINED
For each bar the script evaluates pivot conditions
A pivot is confirmed only after the right width (len) bars complete—the label is then placed len bars back
Time extraction uses the pivot's bar timestamp and converts:
Intraday: Formats HH:MM (24-hour). Infrastructure exists for future 12h toggle
Daily: Converts timestamp to a weekday name
Key time filter checks the pivot's minute bucket. If outside defined windows and filter is active, the label is skipped
6. TIME WINDOWS LOGIC (KEY TIMES ONLY)
Minutes 00–10 → Opening sequence & initial liquidity sweep
Minutes 24–36 → Post initial rotation / mid-hour inflection zone
Minutes 50–59 → Pre hour close / micro-structure reshuffle
ICT Traders: View as macros and note when macros form swing points
This pattern helps isolate intraday zones where structural shifts frequently occur, reducing noise from less consequential pivot timings.
7. USAGE GUIDELINES
Start with Sensitivity = 2 or 3 for most liquid intraday symbols. Increase on higher timeframes to avoid excessive clustering
Key Times Only ON: Ideal for focusing on session rotation pivots. OFF: Use for full discovery when studying custom time behaviors
Combine with volume profile or divergence tools to qualify time-labeled swings (e.g., a swing forming at 09:30 NY vs. random mid-bar)
Apply on lower timeframes (1–15m) to map recurring patterns or on Daily to see weekly rhythm changes
8. PERFORMANCE & LIMITATIONS
Efficient: Only stores arrays of recent labels and prunes aggressively
No Alerts: Current version does not fire alerts (Future Pro+ variant may include swing-time alerting)
Timezone: Fixed to America/New_York
9. BEST PRACTICES
Use a neutral chart theme; contrasting label colors amplify swing clusters
When analyzing historical pattern reliability, temporarily raise Maximum Points Displayed to 50–100 then revert to lighter values for live trading
Prefix field: Add a tag like "T:" if mixing multiple custom time tools to differentiate label origin
10. FAQ
Q: Why do some expected swings not show?
If they confirm outside key minute windows and filtering is ON, they're intentionally suppressed.
Q: Can I get price levels drawn?
Not in this free build. Lines/shapes are disabled intentionally.
Q: Does it repaint?
Pivot confirmation waits for the right width; labels appear only after the swing is locked in. Past labels aren't retroactively moved.
Q: Can I monitor multiple symbols at once?
This version is single‑symbol; use layouts or Pro variants for multi-source overlays.
11. CHANGELOG
v1.0 (Initial Free Release): Core swing time labeling, key time filter, day name adaptation, performance improvements. More updates coming.
12. DISCLAIMER
This tool is an analytical overlay designed for timing context only. It is NOT a standalone buy/sell signal. Always validate swings with broader market structure, liquidity pools, and risk management. No guarantee of future performance.
If you find this useful and want advanced variants (alerts, multi‑timezone, clustering metrics), reach out via TradingView. Feedback drives improvements.
Confluence: VP + FVG + DeltaConfluence, volume profile FVG and Delta all in one chart the holy trinity.
PA + Big Candle Zones + EMA Pack (14/100/200/720) • TH v2.0PA + Big Candle Zones + EMA Pack (14/100/200/720) • TH v2.0
What it does
EMA Pack: 14/100/200/720 เลือกสไตล์เส้นได้ เปิด–ปิดเป็นรายเส้น
Price Action 10 แบบ: Bull/Bear Engulfing, Hammer, Shooting Star, Morning/Evening Star, Tweezer Bottom/Top, Bull/Bear Marubozu
Double Bottom (คอเสื้อ): เลือกยืนยันเฉพาะ “ปิดเหนือคอเสื้อ” ได้
BJ Key Levels: รวมระดับเป็นคลัสเตอร์ตาม % + เช็ก “ราคาใกล้ระดับสำคัญ”
Donchian Channel: ขอบบน/ล่าง + Midline เปลี่ยนสีตามฝั่งราคา (มีสัญญาณครอส BUY/SELL)
Big Candle Zones (Supply/Demand): ตรวจแท่งใหญ่ (ATR*k หรือ Body/Range), รวมโซน, อายุโซน, break buffer, แสดงเฉพาะ N โซนที่ใกล้ราคา
RSI: แถบ OB/OS + Regular Divergence (จุด/เส้น) + ตาราง RSI มุมจอ
Volume Profile (Fixed Range): POC + Value Area (อัปเดตแถบล่าสุด)
How to use (quick)
ดู Bias จาก Donchian Midline (เขียว=เหนือ, แดง=ใต้)
หา PA ฝั่งเดียวกับเทรนด์ใกล้ Big Candle Zone (Demand/Supply)
ถ้ามี BJ Near หรือ RSI Divergence ใช้เป็นตัวกรองจังหวะเข้า/ออก
วาง SL/TP ด้วยขอบโซน, Midline/ขอบ Donchian, POC/VA
Important inputs
Double Bottom: Pivot L/R, min bars apart, tolerance %, require close above neckline
Big Candle: ATR Len/Mult, Body/Range, EdgeFrac, (Option) Vol≥SMA20*k, Max zones near price, Expire bars, Break buffer %
BJ: Pivot L/R, Min touches, Cluster %, Near %, Max levels, Extend right
Donchian Len, RSI 14 (OB/OS/Extreme), VP: Bars/Rows/VA%
Alerts included
PA ทั้งหมด: Engulfing, Hammer, Shooting Star, Morning/Evening Star, Tweezer Bottom/Top, Marubozu
Double Bottom: (Confirm) / (Bottom#2)
BJ: Price near key level
Donchian Midline: BUY / SELL
RSI: Overbought/Extreme, Oversold/Extreme, Bullish/Bearish Divergence, Crossback
Notes
สัญญาณที่พึ่งพา pivot (Double Bottom/RSI Div) ยืนยันช้าตามธรรมชาติ
โซน Big Candle ถูก “รวม/หมดอายุ/ลบเมื่อเบรก” อัตโนมัติ
อินดี้นี้เป็นเครื่องมือช่วยตัดสินใจ ไม่ใช่คำแนะนำการลงทุน
The Ultimate Smart Money AQP + Reversal + Risk-Reward DashboardKEY FEATURES
Add. Analyze. Execute.
The Smart Money Way.
#AQUNAT_PRICE
#AQUNAT_PRICE
#AQUNAT_PRICE
FeatureBenefit15 Buy + 13 Sell Conditions Institutional-grade signal engine Next Target Prediction Auto-calculates closest pivot level Risk-Reward Ratio (Long/Short)Filters trades ≥ 2.0:1Wick Reversal Detector Bull/Bear Wick, Extreme, Outside, Doji Hot Zone Detection DPZ (Red), GPZ (Green), MTZ Valuation Engine Over/Undervalued vs VPOC, TC, BC Multi-Timeframe Summary Daily, Weekly, Monthly bias Buy/Sell Quant Layers Shows support/resistance clusters Probability Table PP-Tested vs PP-Untested rules Novice Mode Simplified "Yes/No" signals Customizable Levels Show All, Key, or None Alerts Built-InL3/H3, R1/S1, VPOC breaks
USE CASES & TRADING STRATEGIES
1. Scalping with Wick + Hot Zone (5M–15M)
Rule: Trade only when "Wick Reversal = Yes" + Hot Zone = GPZ
text Example:
Wick: Yes - Bull Wick
Hot Zone: GPZ: VPOC+PP
Buy Count: 12/15
→ Enter long at pullback to VPOC
Target: Next R1
Stop: Below L3
RR: 2.8:1
2. Risk-Reward Filter Trading (15M–1H)
Rule: Enter only if RR ≥ 2.0
text Long RR: 2.5 (Green)
Short RR: 1.4 (Gray)
→ Only take longs
Entry: Current Open
Target: Avg of Buy Targets
Stop: Avg of Buy Layers
3. Reversal Trading at L3/H3
Rule: Reversal Signal + Wick + Camarilla = Lower/Higher
text Price < L3
Reversal Signal: Bull Reversal
Camarilla: Lower Value
Wick: Yes - Bull Wick
→ High-Probability Bottom Reversal
4. Trend Continuation (PP-Untested)
Rule: Day Expectation = Bullish Beyond R1 + No Reversal
text Price > R1
Expectation: Extended Move
No Wick Reversal
→ Trail stop below PP
Target: R2 or H3
5. Multi-Timeframe Confluence
Rule: Enter when ≥2 timeframes agree
TFBuySellBiasDaily114BullishWeekly103BullishSummaryStrong Buy
→ Wait for pullback to Buy Layer (S1 or L3)
HOW TO READ THE DASHBOARD
Column Meaning Timeframe D, W, M Open Price Session open PP, R1, S1, etc . Key levels (highlighted if in Hot Zone) Buy X/15 (≥10 = Strong)Sell X/13 (≥7 = Strong)Wick Reversal "Yes - Bull Wick" = Enter Next Target Closest pivot level Long/Short RR Green = Valid trade Reversal Signal Bull/Bear Reversal at extremes Valuation Over/Undervalued Hot Zone DPZ = Sell, GPZ = Buy Camarilla Higher/Lower Value Day Expectation Momentum direction
PROBABILITY TABLE (PP-Tested vs PP-Untested)
LevelTouch%Close%PP-TestedPP-UntestedPP63%N/A All rules Trending rulesL173.3%46.6%Fade reversions73.8% close >L1L2↓50%↓70%*Take partials61.9% touchedL3↓25%90.9%*Avoid extremes72.4% touchedL4+Rare80%*High risk77.8% touched
*PP-Tested = Price opened inside CPR
*PP-Untested = Price opened outside CPR
PRO TIPS
Best on 5M–1H charts
Use with volume profile for VPOC confirmation
Set alerts on L3/H3 crossover or RR ≥ 2.5
Novice Mode for beginners (Yes/No only)
Hide levels to declutter: Show Levels = Key
Combine with A Quant Price Institutional Matrix for macro view
IDEAL MARKETS
Forex (EURUSD, GBPUSD, USDJPY)
Indices (NAS100, SPX500)
Crypto (BTC, ETH – set 6–8 decimals)
Futures (ES, NQ, CL)
SETUP GUIDE
Open TradingView
Go to Indicators
Search: AQuantPrice Dashboard
Click Add to Chart
Customize:
Min Buy = 10, Min Sell = 7
Min RR = 2.0
Show Levels = Key
Novice Mode = On (for beginners)
AUTHOR
© @AQuant_Price
Professional Pine Script Developer | 12+ Years in Algo Trading
Trusted by 15,000+ traders worldwide.
Not financial advice. Trade at your own risk.
FINAL TAGLINE
"One Dashboard. All Decisions."
A Quant Price Dashboard – Small Timeframes ALL IN ONE
Your Edge. Live.






















